<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/vue.js"></script>
		<script src="js/vue-router.js"></script>
		<script src="js/axios.min.js"></script>
	</head>
	<body>
		<div id="a">
			<button @click="show()">按钮</button>
		</div>
		<script>
			
			new Vue({
				el:'#a',
				methods:{
					show(){
						axios.get("https://www.w3school.com.cn/").then(a => alert(a))
						},
					
				}
			})
			
		</script>
	</body>
</html>
